//
//  SeckillGoodsModel.h
//  XinJiangMall
//
//  Created by Tzyang on 2018/4/9.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SeckillGoodsModel : NSObject
/**1.图片*/
@property (nonatomic, copy) NSString *cover;
/**2.价格 NSNumber*/
@property (nonatomic, strong) NSNumber *price;
/**3.market_price NSNumber*/
@property (nonatomic, copy) NSNumber *market_price;
/**4.goods_type NSNumber*/
@property (nonatomic, strong) NSNumber *goods_type;
/**5.商品名字*/
@property (nonatomic, copy) NSString *name;
/**6.商品id,NSNumber  单独转 跳转商品详情请求参数 ✅ */
@property (nonatomic, copy) NSString *secKillGoodsId;

 
/**7.结束时间*/
@property (nonatomic, strong) NSNumber *end_time;

///=============================
/**自减*/
- (void)countDown;
/**将当前的时间转换成字符串*/
- (NSString *)currentTimeString;

@end


/**
 {
 "code": 0,
 "data": {
 "seckill_list": [{
 "cover": "http://static.zertone1.com/rg9f1WnVj7xTCvmEMsCelZwqYxE6hDZT.png",
 "start_time": 1531129440000,
 "price": 12.00,
 "name": "测试三",
 "end_time": 1532102400000,
 "market_price": 12.00,
 "id": 214,
 "goods_type": 2
 }, {
 "cover": "http://static.zertone1.com/t3l9b5C5kR0WAiei6cS1V3vqmTNXJlpS.png",
 "start_time": 1531129440000,
 "price": 12.00,
 "name": "测试二",
 "end_time": 1532102400000,
 "market_price": 12.00,
 "id": 213,
 "goods_type": 2
 }, {
 "cover": "http://static.zertone1.com/Fcq4bKTiQMwYsN3Vqns9DN4g7sJnGHod.png",
 "start_time": 1531129440000,
 "price": 12.00,
 "name": "测试一",
 "end_time": 1532102400000,
 "market_price": 12.00,
 "id": 212,
 "goods_type": 2
 }, {
 "cover": "http://static.zertone1.com/suS4Ck37c2rVAmL8SAkOVyZ9GS7efUYj.png",
 "start_time": 1531497600000,
 "price": 1.00,
 "name": "1",
 "end_time": 1531152000000,
 "market_price": 1.00,
 "id": 211,
 "goods_type": 2
 }]
 }
 }
 */
